#include "Shape.h"


Shape::Shape(GLint texture_id)
{
	this->texture_id = texture_id;
	this->Anglecord.xAngle = 0;
	this->Anglecord.yAngle = 0;
	this->Anglecord.zAngle = 0;
}

void Shape::SetAngle(float Angle, float x, float y, float z)
{
	this->Anglecord.angle = Angle;
	this->Anglecord.xAngle = x;
	this->Anglecord.yAngle = y;
	this->Anglecord.zAngle = z;
}

void Shape::AdjustAngle(float Angle, float x, float y, float z)
{
	this->Anglecord.angle += Angle;
	this->Anglecord.xAngle = x;
	this->Anglecord.yAngle = y;
	this->Anglecord.zAngle = z;
}
void Shape::SetLocation(int Step,double x,double y, double z)
{
	this->x+=Step*x;
	this->y+=Step*y;
	this->z+=Step*z;
}

Shape::~Shape(void)
{
}
